<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkToolShell</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="prev" href="GtkTearoffMenuItem.html" title="GtkTearoffMenuItem">
<link rel="next" href="GtkToolbar.html" title="GtkToolbar">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkTearoffMenuItem.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
<td><a accesskey="n" href="GtkToolbar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkToolShell.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkToolShell.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkToolShell.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkToolShell.prerequisites" class="shortcut">Prerequisites</a>
                   | 
                  <a href="#GtkToolShell.implementations" class="shortcut">Known Implementations</a>
</td></tr>
</table>
<div class="refentry">
<a name="GtkToolShell"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkToolShell.top_of_page"></a>GtkToolShell</span></h2>
<p>GtkToolShell — Interface for containers containing GtkToolItem widgets</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GtkToolShell.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkToolShell.html#GtkToolShell-struct" title="GtkToolShell">GtkToolShell</a>;
struct              <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface">GtkToolShellIface</a>;
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-ellipsize-mode" title="gtk_tool_shell_get_ellipsize_mode ()">gtk_tool_shell_get_ellipsize_mode</a>   (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>         <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-icon-size" title="gtk_tool_shell_get_icon_size ()">gtk_tool_shell_get_icon_size</a>        (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()">gtk_tool_shell_get_orientation</a>      (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-relief-style" title="gtk_tool_shell_get_relief_style ()">gtk_tool_shell_get_relief_style</a>     (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>     <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()">gtk_tool_shell_get_style</a>            (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-alignment" title="gtk_tool_shell_get_text_alignment ()">gtk_tool_shell_get_text_alignment</a>   (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-orientation" title="gtk_tool_shell_get_text_orientation ()">gtk_tool_shell_get_text_orientation</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkToolShell.html#gtk-tool-shell-rebuild-menu" title="gtk_tool_shell_rebuild_menu ()">gtk_tool_shell_rebuild_menu</a>         (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
<a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> *      <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-size-group" title="gtk_tool_shell_get_text_size_group ()">gtk_tool_shell_get_text_size_group</a>  (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GtkToolShell.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GInterface
   +----GtkToolShell
</pre>
</div>
<div class="refsect1">
<a name="GtkToolShell.prerequisites"></a><h2>Prerequisites</h2>
<p>
GtkToolShell requires
 <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
</div>
<div class="refsect1">
<a name="GtkToolShell.implementations"></a><h2>Known Implementations</h2>
<p>
GtkToolShell is implemented by
 <a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup">GtkToolItemGroup</a> and  <a class="link" href="GtkToolbar.html" title="GtkToolbar">GtkToolbar</a>.</p>
</div>
<div class="refsect1">
<a name="GtkToolShell.description"></a><h2>Description</h2>
<p>
The <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface allows container widgets to provide additional
information when embedding <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> widgets.
</p>
<p>
<em class="parameter"><code>see_also</code></em>: <a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a>, <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a>
</p>
</div>
<div class="refsect1">
<a name="GtkToolShell.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GtkToolShell-struct"></a><h3>GtkToolShell</h3>
<pre class="programlisting">typedef struct _GtkToolShell GtkToolShell;</pre>
<p>
Dummy structure for accessing instances of <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface"><span class="type">GtkToolShellIface</span></a>.
</p>
</div>
<hr>
<div class="refsect2">
<a name="GtkToolShellIface"></a><h3>struct GtkToolShellIface</h3>
<pre class="programlisting">struct GtkToolShellIface {
  GtkIconSize        (*get_icon_size)        (GtkToolShell *shell);
  GtkOrientation     (*get_orientation)      (GtkToolShell *shell);
  GtkToolbarStyle    (*get_style)            (GtkToolShell *shell);
  GtkReliefStyle     (*get_relief_style)     (GtkToolShell *shell);
  void               (*rebuild_menu)         (GtkToolShell *shell);
  GtkOrientation     (*get_text_orientation) (GtkToolShell *shell);
  gfloat             (*get_text_alignment)   (GtkToolShell *shell);
  PangoEllipsizeMode (*get_ellipsize_mode)   (GtkToolShell *shell);
  GtkSizeGroup *     (*get_text_size_group)  (GtkToolShell *shell);
};
</pre>
<p>
Virtual function table for the <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-icon-size"></a>get_icon_size</code></em> ()</span></p></td>
<td>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-icon-size" title="gtk_tool_shell_get_icon_size ()"><code class="function">gtk_tool_shell_get_icon_size()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-orientation"></a>get_orientation</code></em> ()</span></p></td>
<td>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()"><code class="function">gtk_tool_shell_get_orientation()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-style"></a>get_style</code></em> ()</span></p></td>
<td>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()"><code class="function">gtk_tool_shell_get_style()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-relief-style"></a>get_relief_style</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-relief-style" title="gtk_tool_shell_get_relief_style ()"><code class="function">gtk_tool_shell_get_relief_style()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.rebuild-menu"></a>rebuild_menu</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-rebuild-menu" title="gtk_tool_shell_rebuild_menu ()"><code class="function">gtk_tool_shell_rebuild_menu()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-orientation"></a>get_text_orientation</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-orientation" title="gtk_tool_shell_get_text_orientation ()"><code class="function">gtk_tool_shell_get_text_orientation()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-alignment"></a>get_text_alignment</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-alignment" title="gtk_tool_shell_get_text_alignment ()"><code class="function">gtk_tool_shell_get_text_alignment()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-ellipsize-mode"></a>get_ellipsize_mode</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-ellipsize-mode" title="gtk_tool_shell_get_ellipsize_mode ()"><code class="function">gtk_tool_shell_get_ellipsize_mode()</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-size-group"></a>get_text_size_group</code></em> ()</span></p></td>
<td>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-size-group" title="gtk_tool_shell_get_text_size_group ()"><code class="function">gtk_tool_shell_get_text_size_group()</code></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-ellipsize-mode"></a><h3>gtk_tool_shell_get_ellipsize_mode ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  gtk_tool_shell_get_ellipsize_mode   (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the current ellipsize mode for the tool shell. Tool items must not
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-ellipsize-mode" title="gtk_tool_item_get_ellipsize_mode ()"><code class="function">gtk_tool_item_get_ellipsize_mode()</code></a>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current ellipsize mode of <em class="parameter"><code>shell</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-icon-size"></a><h3>gtk_tool_shell_get_icon_size ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>         gtk_tool_shell_get_icon_size        (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the icon size for the tool shell. Tool items must not call this
function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-icon-size" title="gtk_tool_item_get_icon_size ()"><code class="function">gtk_tool_item_get_icon_size()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current size for icons of <em class="parameter"><code>shell</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-orientation"></a><h3>gtk_tool_shell_get_orientation ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gtk_tool_shell_get_orientation      (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the current orientation for the tool shell. Tool items must not
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-orientation" title="gtk_tool_item_get_orientation ()"><code class="function">gtk_tool_item_get_orientation()</code></a>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current orientation of <em class="parameter"><code>shell</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-relief-style"></a><h3>gtk_tool_shell_get_relief_style ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      gtk_tool_shell_get_relief_style     (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Returns the relief style of buttons on <em class="parameter"><code>shell</code></em>. Tool items must not call this
function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-relief-style" title="gtk_tool_item_get_relief_style ()"><code class="function">gtk_tool_item_get_relief_style()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The relief style of buttons on <em class="parameter"><code>shell</code></em>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-style"></a><h3>gtk_tool_shell_get_style ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>     gtk_tool_shell_get_style            (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves whether the tool shell has text, icons, or both. Tool items must
not call this function directly, but rely on <code class="function">gtk_tool_item_get_style()</code>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current style of <em class="parameter"><code>shell</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-text-alignment"></a><h3>gtk_tool_shell_get_text_alignment ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>              gtk_tool_shell_get_text_alignment   (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the current text alignment for the tool shell. Tool items must not
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-alignment" title="gtk_tool_item_get_text_alignment ()"><code class="function">gtk_tool_item_get_text_alignment()</code></a>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current text alignment of <em class="parameter"><code>shell</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-text-orientation"></a><h3>gtk_tool_shell_get_text_orientation ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>      gtk_tool_shell_get_text_orientation (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the current text orientation for the tool shell. Tool items must not
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-orientation" title="gtk_tool_item_get_text_orientation ()"><code class="function">gtk_tool_item_get_text_orientation()</code></a>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current text orientation of <em class="parameter"><code>shell</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-rebuild-menu"></a><h3>gtk_tool_shell_rebuild_menu ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_shell_rebuild_menu         (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Calling this function signals the tool shell that the overflow menu item for
tool items have changed. If there is an overflow menu and if it is visible
when this function it called, the menu will be rebuilt.
</p>
<p>
Tool items must not call this function directly, but rely on
<a class="link" href="GtkToolItem.html#gtk-tool-item-rebuild-menu" title="gtk_tool_item_rebuild_menu ()"><code class="function">gtk_tool_item_rebuild_menu()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-text-size-group"></a><h3>gtk_tool_shell_get_text_size_group ()</h3>
<pre class="programlisting"><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> *      gtk_tool_shell_get_text_size_group  (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
<p>
Retrieves the current text size group for the tool shell. Tool items must not
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-size-group" title="gtk_tool_item_get_text_size_group ()"><code class="function">gtk_tool_item_get_text_size_group()</code></a>
instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the current text size group of <em class="parameter"><code>shell</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.18</div>
</body>
</html>